package com.magicode.cms.dao.impl;

import org.springframework.stereotype.Service;

import com.magicode.cms.dao.IFestivalDao;
import com.magicode.cms.entiy.base.Festival;

@Service("daofestival")
public class FestivalDaoImpl extends BaseDaoImpl<Festival> implements IFestivalDao {

	@Override
	public void deletePic(String picId,String festivalId) {
		String sql = "DELETE FROM festival_pic_rela WHERE pic_id = ? and festival_id=? ";
		commonDaoService.querySql(sql,picId,festivalId);
	}

}
